package com.lineage.server.serverpackets;

public class S_Drawal extends ServerBasePacket {
  private byte[] _byte;
  
  public S_Drawal(int objectId, long count) {
    this._byte = null;
    writeC(141);
    writeD(objectId);
    writeD((int)Math.min(count, 2000000000L));
  }
  
  public byte[] getContent() {
    if (this._byte == null)
      this._byte = getBytes(); 
    return this._byte;
  }
  
  public String getType() {
    return getClass().getSimpleName();
  }
}
